package demo;

import net.jcip.annotations.GuardedBy;
import net.jcip.annotations.ThreadSafe;


//@ThreadSafe
public class GuardedByTest {
    //@GuardedBy("this")
    private int value;
    public int getNext() {
        return value++;
    }
}
